package org.dea.util;

import java.util.Arrays;

public class ProcessOutput {

	private String err;
	private String std;
	private String cmd;

	public ProcessOutput() {
		cmd = "";
		err = "";
		std = "";
	}
	
	public ProcessOutput(String cmd, String std, String err) {
		this.cmd = cmd;
		this.std = std;
		this.err = err;
	}

	public String getErr() {
		return err;
	}

	public void setErr(String err) {
		this.err = err;
	}

	public String getStd() {
		return std;
	}

	public void setStd(String std) {
		this.std = std;
	}

	public String getCmd() {
		return cmd;
	}

	public void setCmd(String cmd) {
		this.cmd = cmd;
	}
	
	@Override
	public String toString() {

		return cmd+":"+getStd()+":"+getErr();
	}

}
